﻿using System;

namespace Sissonix.ExtRest.Serialization
{
    /// <summary>
    /// Event argument for events relating to serialization.
    /// </summary>
    public class SerializationEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the object to serialize.
        /// </summary>
        /// <value>The object to serialize.</value>
        public object ObjectToSerialize { get; set; }

        /// <summary>
        /// Gets or sets the serialized object.
        /// </summary>
        /// <value>The serialized object.</value>
        public string SerializedObject { get; set; }
    }
}
